﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Helper.Infrastructure.Session
{
    public static class SessionAuth
    {
        public static bool VerifySession(UserSession _Session)
        {
            if (_Session != null)
                if (_Session.Logged) 
                    return _Session.SecurityKey == UserSession.SECURITYKEY;
            return false;
        }
    }
}
